import request from '@/utils/request'
export function storebillingrecords(params) {
return request({
url: '/oms/omsBillingRecords/list',
method: 'get',
params: params
})
}
export function storebillings(params) {
return request({
url: '/oms/omsBillingRecords/storebillings',
method: 'get',
params: params
})
}


/**
 * 设置店铺对账记录状态为已结算
 *
 * @param ids 对账记录id数组
 * @return 成功>=1 否则失败
 */
export function updateStoreBillingRecordStatus(ids) {
  return request({
    url: '/oms/omsBillingRecords/storebillingrecord',
    method: 'put',
    params: ids,
  })
}

